<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="renderer" content="webkit">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <title>在线支付 - 网上支付 安全快速！</title>

    <!-- 引入页面公用的css和js -->
    <link rel="stylesheet" type="text/css" href="/files/common.v2.css">
    <script src="/files/hm.js"></script><script type="text/javascript" src="/files/jquery.min.js"></script>
    <script type="text/javascript" src="/files/layer.js"></script><link rel="stylesheet" href="/files/layer.css" id="layuicss-layer">

    <!-- 引入该页面单独需要的css和js -->
    <link rel="stylesheet" type="text/css" href="/files/orderDetailPay.v3.css">
    <script type="text/javascript" src="/files/rem.js"></script><style>html{font-size:100px;}</style>
    <style id="rootFontSize">html{font-size: 10px !important;}</style>
</head>

<body class="overflow-hidden" style="font-size: 10px;">
<div class="layout_container">
    <!-- header -->
    <div class="layout_header">
        <div class="header_bar" style="background-color: #003db3">
            <span class="header_bar_logo"></span>
            <span class="header_bar_title">支付宝支付中心</span>
        </div>
    </div>
    <!-- body -->
    <div class="layout_body" id="main_cc">
        <!-- 支付方式 -->
        <!-- 订单超时取消 -->
        <div class="container_box paytype_box gac-flex">
            <div class="paytype_label flex-item">
                <div style="text-align:center">
                    支付金额：<span style="color:red;font-size:32px;font-weight:bolder">￥${amount}</span>
                    <div style="color: red;">请按以上提示金额付款，多一分少一分都无法自动到账，长时间未到账请联系客服</div>
                    <p><span>请在 </span><span><small></small><span id="countdown" class="warning" style="color:red;font-size:1.2em">_</span></span><span> 内完成支付</span></p>
                </div>
            </div>

        </div>

        <!-- 详情部分 -->
        <div class="container_box">
            <!-- 要想弹出复制的tips浮动框，点击的元素的class必须要有has_gac_copy_tips-->
            <div class="detail_list">
                <div class="list_label">姓名：</div>
                <div class="list_content">
                        <span class="order_name has_gac_copy_tips">
                            <span id="orderName" style="border-bottom: dashed 0.1rem #808695" data-clipboard-target="#orderName">${bankAccount!}</span>
                            <span data-clipboard-target="#orderName" class="btn-copy" style="font-size: 1.2rem;color: red;">复制</span>
                            <!-- 要想弹出复制的tips浮动框，点击的元素的class必须要有has_gac_copy_tips-->
                            <div class="gac-copy-tips" style="display: none;">
                                <div class="copy-tips-arrow"></div>
                                <!-- 复制需要指定data-clipboard-targrt对应元素的id或者class -->
                                <div class="copy-tips-content copy_click">点击复制</div>
                            </div>
                        </span>
                </div>
            </div>
            <div class="detail_list">
                <div class="list_label">卡号：</div>
                <div class="list_content">
                    <span class="order_bank_no has_gac_copy_tips">
                            <span id="orderBankNo" style="font-weight:bold;font-size:1.6rem;border-bottom: dashed 0.1rem #808695" data-clipboard-target="#orderBankNo">${cardNo!}</span>
                            <span data-clipboard-target="#orderBankNo" class="btn-copy" style="font-size: 1.2rem;color: red;">复制</span>
                            <!-- 要想弹出复制的tips浮动框，点击的元素的class必须要有has_gac_copy_tips-->
                            <div class="gac-copy-tips" style="display: none;">
                                <div class="copy-tips-arrow"></div>
                                <!-- 复制需要指定data-clipboard-targrt对应元素的id或者class -->
                                <div class="copy-tips-content copy_click">点击复制</div>
                            </div>
                        </span>
                </div>
            </div>
            <div class="detail_list">
                <div class="list_label">银行：</div>
                <div class="list_content">
                    <span class="order_bank_name has_gac_copy_tips">
                        <span id="orderBankName" style="border-bottom: dashed 0.1rem #808695" data-clipboard-target="#orderBankName">${bankName!}</span>
                        <span data-clipboard-target="#orderBankName" class="btn-copy" style="font-size: 1.2rem;color: red;">复制</span>
                        <!-- 要想弹出复制的tips浮动框，点击的元素的class必须要有has_gac_copy_tips-->
                        <div class="gac-copy-tips" style="display: block;">
                            <div class="copy-tips-arrow"></div>
                            <!-- 复制需要指定data-clipboard-targrt对应元素的id或者class -->
                        </div>
                    </span>
                </div>
            </div>
            <div class="detail_lisorderMoneyBtnt list-money detail_list">
                <div class="list_label">金额：</div>
                <div class="list_content line-money">
                    <span style="font-size:2.5rem;color:#303133;">￥</span>
                    <span class="order_money has_gac_copy_tips">
                            <span style="border-bottom: dashed 0.1rem #808695;display: inline-block;height: 3rem; font-size:2.5rem;color:#303133;" data-clipboard-target="#orderAmountRmb" id="orderAmountRmb">${amount!}</span>
                        <!--<span id="orderMoneyBtn"  class="btn-copy" style="font-size: 1.2rem;color: #a8a8a8;">复制</span>-->
                         <span id="orderMoneyBtn" data-clipboard-target="#orderAmountRmb" class="btn-copy" style="font-size: 1.2rem;color:red;">复制</span>
                            <!-- 要想弹出复制的tips浮动框，点击的元素的class必须要有has_gac_copy_tips-->
                            <div class="gac-copy-tips" style="display: none;">
                                <div class="copy-tips-arrow"></div>
                                <div class="copy-tips-content copy_click">点击复制</div>
                            </div>
                        </span>
                </div>

            </div>
            <div style="color:red;">（请务必复制并按提示的金额付款，否则资金无法及时到账）</div>
            <!-- 转账提示 -->
            <div class="container_box">
                <div class="status_tips" style="padding: 1rem 0">请按照以下方法去支付宝转卡，请务必转入该金额，小数金额也必须对上，否则无法到账，并且不退款</div>
                <p>1.打开支付宝-->首页-->转账-->转到银行卡</p>
                <p>2.分别复制姓名，卡号，银行，金额粘贴到对应的地方填入</p>
                <p>3.点击下一步，确认转账</p>
            </div>

        </div>

        <!-- 引导提示部分 -->
        <!-- 引导提示的遮罩层 -->
        <div class="gac-modal guide_modal" style="display:none;" id="guide_modal"> </div>
        <!-- 银行卡引导提示 -->
        <div class="guide_money_box" id="guide_money_box" style="display: none;">

        </div>

        <!-- 银行卡引导提示 -->
        <div class="guide_bank_box" id="guide_bank_box" style="display: none;">
            <map id="group2" name="group2">
                <area shape="rectangle" coords="0,0,456,202.22" nohref="nohref">
            </map>
        </div>
    </div>

</div>

<!-- 温馨提示弹框 -->
<div class="gac-modal" style="display:none;" id="reminder_modal">
    <div class="modal-container">
        <div class="container-body">
            <div>1.请务必按照下单金额真实转账，否则无法充值成功</div>
            <div>2.转账成功后，如未充值到账，请联系平台客服</div>
            <div>3.再次充值，请务必先下单，并按照订单的收款账户转账</div>
        </div>
        <div class="container-footer">
            <button class="btn-success" onclick="hideReminderModal()">知道了</button>
        </div>
    </div>
</div>

<!-- 支付操作引导 -->
<div id="image-modal" class="image-modal" style="display:none;">
    <div class="btn-close" onclick="showImage(true)">X</div>
    <button class="btn-know" onclick="showImage(true)">知道了</button>
</div>

<div id="image-modal2" class="image-modal" style="display:none;">
    <div class="btn-close" onclick="showImage2(true)">X</div>
    <button class="btn-know" onclick="showImage2(true)">知道了</button>
</div>

<!-- 全局的toast提示 -->
<div class="gac-toast">
    复制成功
</div>
<!--金额复制弹出提示-->
<div class="gac-toastRMB">
    <div>
        金额复制成功
    </div>
    <div>
        系统会按此金额为您充值请放心转账
    </div>
</div>
<!--卡号复制弹出提示-->
<div class="gac-toastCardNo">
    <div>
        卡号复制成功
    </div>
    <div>
        请放心向该账户转账
    </div>
</div>

<script type="text/javascript" src="/files/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/files/clipboard.min.js"></script>
<script type="text/javascript" src="/files/common.js"></script>
<script type="text/javascript" src="/files/config.js"></script>
<script type="text/javascript" src="/files/ajax.js"></script>
<script type="text/javascript" src="/files/detail.js"></script>
<script type="text/javascript" src="/files/chat.js"></script>
<!-- 页面的js操作 -->
<script>

    //带天数的倒计时
    var timer = null;
    var times = ${expireTime};
    countDown = function () {
        timer = setInterval(function () {
            if (times <= 0) {
                clearInterval(timer);
                $("#main_cc").html("<span style='font-size:14px; color:red'>支付超时，请重新下单</span>");
            }
            else {
                var day = 0,
                        hour = 0,
                        minute = 0,
                        second = 0;//时间默认值
                if (times > 0) {
                    day = Math.floor(times / (60 * 60 * 24));
                    hour = Math.floor(times / (60 * 60)) - (day * 24);
                    minute = Math.floor(times / 60) - (day * 24 * 60) - (hour * 60);
                    second = Math.floor(times) - (day * 24 * 60 * 60) - (hour * 60 * 60) - (minute * 60);
                }
                if (day <= 0) day = ''; else day = day + '天';
                if (hour <= 0) hour = ''; else hour = hour + '时';
                if (minute <= 0) minute = ''; else minute = minute + '分';
                $("#countdown").text(day + hour + minute + second + '秒');
                if (Math.ceil(times) % 3 == 0) {
                    $.ajax({
                        type: "POST",
                        async: true,
                        url: "/api/tcpay/query",
                        contentType: "application/x-www-form-urlencoded;charset=utf-8",
                        data: {
                            payOrderId : "${payOrderId!}"
                        },
                        success: function (rdata) {
                            data = JSON.parse(rdata);
                            if (data.status == '3' || data.status == '2') {
                                if (!data.url)
                                    $("#main_cc").html("<span style='font-size:14px; color:red'>支付成功</span>");
                                else
                                    window.location.href = data.url;
                            } else {
                                console.log(rdata);
                            }
                        }
                    });
                }
            }
            times--;
        }, 1000);
    }();

    /**
     * 复制文字的方法
     */
    var copyTimer = null;

    // ready
    $(document).ready(function(){
        // countdownTime(time,nowTime)
        // qryOrderStatus(tradeId,merchantName);
        // alertPayType();
        // 引导提示
        var ifDecimals = true;
        console.log("ifDecimals:" + ifDecimals);
        if (ifDecimals)
            showGuide();

        // 点击除tips外的页面关闭tips提示
        $(document).click(function (e) {
            if (!$(e.target).closest(".has_gac_copy_tips,.gac-modal,.guide_money_box,.guide_bank_box").length) {
                $(".gac-copy-tips").hide();
            }
        })

        if (ClipboardJS.isSupported()) {
            //  @tip: 可以用.class全局初始化，但节点可能不存在
            // $('.btn-copyBankNo').length && new ClipboardJS('.btn-copyBankNo').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
            $('.btn-copy').length && new ClipboardJS('.btn-copy').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
            //  @tip: 手机浏览器成功会进入error回调
            $("#orderAmountRmb").length && new ClipboardJS('#orderAmountRmb').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
            $('#orderMoney').length && new ClipboardJS('#orderMoney').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
            $('#orderMoneyDecimal').length && new ClipboardJS('#orderMoneyDecimal').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
            $('#orderName').length && new ClipboardJS('#orderName').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
            $('#orderBankNo').length && new ClipboardJS('#orderBankNo').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
            $('#orderBankName').length && new ClipboardJS('#orderBankName').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
            $('#orderBankDesc').length && new ClipboardJS('#orderBankDesc').on("success", window.common.copyeSuccessFun).on("error", window.common.copyeSuccessFun);
        } else {
            if (window.utils.isMobile()) {
                $(".copy-tips-content").text('长按复制');
            } else {
                $(".copy-tips-content").text('右键复制');
            }
        }
        if (!utils.isMobile()) {
            // 鼠标移入移出事件
            $('.has_gac_copy_tips').hover(function() {
                // 鼠标移入时添加hover类
                onShowCopyTips(this)
            }, function() {
                // 鼠标移出时移出hover类
                onShowCopyTips(this, true)
            });
        }
    })

</script><div class="layui-layer-move"></div>


</body></html>